package com.ee.chat.cps.admin.service;

import com.ee.chat.common.bean.Result;
import com.ee.chat.common.vo.ChannelVO;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author AppiJ
 * @Date 2020/4/2 15:45
 */
public interface IPromoteService {

    Result list(HttpServletRequest request, Integer page, Integer limit) throws Exception;

    Result channelList(HttpServletRequest request, String keyword, Integer page, Integer limit) throws Exception;

    Result toEditChannel(HttpServletRequest request, Integer id) throws Exception;

    Result addChannel(HttpServletRequest request, ChannelVO channelVO) throws Exception;

    Result editChannel(HttpServletRequest request, ChannelVO channelVO) throws Exception;

    Result restPwd(HttpServletRequest request, Integer id) throws Exception;
}
